package com.woniuxy.joylifemarket.service.impl;

import com.woniuxy.common.entity.CenterUser;
import com.woniuxy.common.mapper.CenterUserMapper;
import com.woniuxy.joylifemarket.service.CenterUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CenterUserServiceImpl implements CenterUserService {
    @Autowired
    CenterUserMapper centerUserMapper;

    @Override
    public CenterUser findUserById(String userid) {
        CenterUser centerUser = centerUserMapper.selectByPrimaryKey(userid);
        return centerUser;
    }
}
